import umiLayoutRoutes from './umiLayoutRoutes';

const umiRoutes = [
  // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  // 👇 路由 1 FROM: @/src/utils/routerConfig.js
  {
    // 限额监控
    path: '/limitMonitoring',
    component: '@/src/routes/InvestmentMonitor/LimitMonitoring',
  },
  {
    // brinson归因分析
    path: '/attributionAnalysis',
    component: '@/src/routes/performanceAnalysis/attributionAnalysis/index',
  },
  {
    // 基准信息
    path: '/baselineInformation',
    component: '@/src/routes/businessMaintenance/BaselineInformationNew/BaselineInformationNew',
  },
  {
    // 用户管理-机构配置
    path: '/userM/institutionManage',
    component: '@/src/routes/UserManage/InstitutionConfiguration',
  },
  {
    // 用户管理-岗位配置
    path: '/userM/station',
    component: '@/src/routes/UserManage/Station/Station',
  },
  {
    // 用户管理-角色配置
    path: '/userM/role',
    component: '@/src/routes/UserManage/Role/Role',
  },
  {
    // 用户管理-用户配置
    path: '/userM/UserManage',
    component: '@/src/routes/UserManage/UserManageNew/UserManageNew',
  },
  {
    // 运营监控/访问统计
    path: '/maat/visitStatistics',
    component: '@/src/routes/OperationalMonitoring/visitStatistics/index',
  },
  {
    // 券池管理/券池定义
    path: '/maat/securityMnt/couponPoolDefinition',
    component: '@/src/routes/investmentResearch/securityMnt/couponPoolDefinition/CouponPoolDefinition',
  },
  {
    // 券池审批
    path: '/maat/securityMnt/couponPoolApproval',
    component: '@/src/routes/investmentResearch/securityMnt/couponPoolApproval',
  },
  {
    // 券池管理/券池查询-股票
    path: '/maat/securityMnt/couponPoolQuery/stock',
    component: '@/src/routes/investmentResearch/securityMnt/couponPoolQuery/bond/Bond',
  },
  {
    // 券池管理/券池查询-基金
    path: '/maat/securityMnt/couponPoolQuery/fund',
    component: '@/src/routes/investmentResearch/securityMnt/couponPoolQuery/bond/Bond',
  },
  {
    // 券池管理/券池查询-债券
    path: '/maat/securityMnt/couponPoolQuery/bond',
    component: '@/src/routes/investmentResearch/securityMnt/couponPoolQuery/bond/Bond',
  },

  {
    // //债券信息
    path: '/maat/bondDeviationDetail',
    component: '@/src/routes/marketAnalysis/bondDeviationAnalysis/bondDeviationDetail',
  },
  {
    // 投资建议书/ETF建议书
    path: '/maat/proposal/etfProposal',
    component: '@/src/routes/businessProposal/EtfTradeNew',
  },
  {
    // 投资建议书/建议书审批
    path: '/maat/proposal/proposalVerify',
    component: '@/src/routes/businessProposal/Approval',
  },
  {
    // 投资建议书/建议书查询
    path: '/maat/proposal/proposalList',
    component: '@/src/routes/businessProposal/EtfTradeNew/TradeSearch/TradeSearch',
  },
  {
    // 投资建议书/综合查询   用的 综合查询/持仓查询
    path: '/maat/proposal/positionquery',
    component: '@/src/routes/investmentAndDecision/PositionInquiry',
  },
  {
    // 场外衍生品管理/期权管理
    path: '/maat/OTCDerivativesManagement/OptionManagement',
    component: '@/src/routes/shareOptionManagement',
  },
  {
    // 场外衍生品管理/场外期权生命周期管理
    path: '/maat/OTCDerivativesManagement/lifeCycleManagementOfOTC',
    component: '@/src/routes/shareOptionManagement/OTCOptionLifeCycleManagement',
  },
  {
    // 场外衍生品管理/场外期权存续合约监控
    path: '/maat/OTCDerivativesManagement/OTCOptionContractsMonitoring',
    component: '@/src/routes/shareOptionManagement/OTCOptionContractsMonitoring',
  },
  {
    // 场外衍生品管理/场外期权压力测试
    path: '/maat/OTCDerivativesManagement/OTCOptionStresstest',
    component: '@/src/routes/shareOptionManagement/pressureTest',
  },
  {
    // 交易对手详情
    path: '/maat/counterparty/query',
    component: '@/src/routes/counterpartyManagement/counterpartyInformation/counterpartyInfoQuery',
  },
  {
    // 编辑交易对手
    path: '/maat/counterparty/edit',
    component: '@/src/routes/counterpartyManagement/counterpartyInformation/counterpartyInfoEdit',
  },
  {
    // 交易对手新增
    path: '/maat/counterparty/add',
    component: '@/src/routes/counterpartyManagement/counterpartyInformation/counterpartyInfoAdd',
  },
  {
    // 交易对手基础信息
    path: '/maat/counterpartyInformation',
    component: '@/src/routes/counterpartyManagement/counterpartyInformation',
  },
  {
    // 交易对手授信设置
    path: '/maat/creditLineManagement/creditSetting',
    component: '@/src/routes/counterpartyManagement/creditLineManagement/creditSetting',
  },
  {
    path: '/maat/creditLineManagement/creditOccupation', // 交易对手授信监控
    component: '@/src/routes/counterpartyManagement/creditLineManagement/creditOccupation',
  },
  {
    path: '/maat/counterparty/whiteList', // 交易对手白名单
    component: '@/src/routes/counterpartyManagement/personnelManagement/WhiteList',
  },
  {
    path: '/maat/counterparty/blackList', // 交易对手黑名单
    component: '@/src/routes/counterpartyManagement/personnelManagement/BlackList',
  },
  {
    // 净值分析
    path: '/maat/performanceAnalysis/netValueAnalysis',
    component: '@/src/routes/performanceAnalysis/netValueAnalysis2',
  },
  {
    // 盈亏分析
    path: '/maat/performanceAnalysis/profitAndLossAnalysis',
    component: '@/src/routes/performanceAnalysis/profitAndLossAnalysis/anysis',
  },
  {
    // 收益率表现
    path: '/maat/performanceAnalysis/yieldPerformance',
    component: '@/src/routes/performanceAnalysis/yiledPerformance',
  },
  {
    // 系统管理/日志审计
    path: '/maat/SysM/auditLog',
    component: '@/src/routes/auditLog/auditLog',
  },
  {
    // 组合管理/组合跟踪
    path: '/maat/portfolioTracking',
    component: '@/src/routes/PortfolioManagement/portfolioTrackings',
  },
  {
    // 库存管理/持仓管理
    path: '/maat/inventoryMnt/positionManage',
    component: '@/src/routes/InventoryMnt/HoldPosition/PositionManageNew',
  },
  {
    // 库存管理/资金管理
    path: '/maat/inventoryMnt/fundManagement',
    component: '@/src/routes/investmentAndDecision/FundManagement',
  },
  {
    // 投资指令/指令查询
    path: '/maat/tradeInstruction/tradeInstructionQuery',
    component: '@/src/routes/InvestmentManage/newTrade',
  },
  {
    // 投资指令/债券指令
    path: '/maat/tradeInstruction/bondTrade',
    component: '@/src/routes/InvestmentManage/BondTradeNew',
  },
  {
    // 投资指令/回购指令
    path: '/maat/tradeInstruction/buybackOrder',
    component: '@/src/routes/InvestmentManage/BuybackOrder/index1.js',
  },
  // 组合管理/汇总监控
  {
    path: '/maat/portfolioBuild/CollectingMonitoring',
    component: '@/src/routes/PortfolioManagement/CollectingMonitoring',
  },
  // 投资指令/股票组合指令
  {
    path: '/maat/tradeInstruction/stockGroupOrder',
    component: '@/src/routes/InvestmentManage/stockGroupOrder',
  },
  {
    // 组合管理/指数监控
    path: '/maat/portfolioBuild/indexMonitoring',
    component: '@/src/routes/PortfolioManagement/indexMonitoring',
  },
  // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  // 👇 路由 2 FROM: @src/router.js RouterConfig
  {
    path: '/demo',
    component: '@/src/demo',
  },
  {
    path: '/newDemo',
    component: '@/src/newDemo',
  },
  {
    path: '/maatBlank',
    component: '@/src/layouts/blankPermission/blank',
  },
  {
    path: '/maatNoPermission',
    component: '@/src/layouts/blankPermission/noPermission',
  },
  {
    path: '/videoPlayer',
    component: '@/src/comps/other/videoC',
  },
  {
    path: '/operation',
    component: '@/src/operation',
  },
  {
    path: '/login',
    component: '@/src/routes/login/login',
  },
  {
    path: '/resetPassword',
    component: '@/src/routes/login/resetPassword',
  },
].concat(umiLayoutRoutes);

export default umiRoutes;
